package com.lufan.constant;

import com.lufan.enums.VideoResolutionEnum;
import com.lufan.enums.VideoStreamFormatEnum;

import java.io.File;
import java.util.HashMap;
import java.util.Map;


public class DefaultConstants {

    /**
     * 默认请求头
     */
    public static final Map<String, String> headers = new HashMap<>() {{
        put("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36");
        put("Referer", "https://www.bilibili.com/");
        put("Origin", "https://www.bilibili.com");
        put("Accept", "*/*");
        put("Accept-Encoding", "identity");
        put("Accept-Language", "zh-CN,zh;q=0.9,en;q=0.8");
        put("Cache-Control", "no-cache");
        put("Pragma", "no-cache");
        put("Sec-Fetch-Dest", "video");
        put("Sec-Fetch-Mode", "cors");
        put("Sec-Fetch-Site", "cross-site");
        put("Connection", "keep-alive");
    }};


}
